<?php


namespace App\Model;


use App\Logic\Report;
use EasySwoole\ORM\AbstractModel;

class SysErrLog extends AbstractModel
{
    protected $autoTimeStamp = true;
    protected $tableName = 'syserr_log';
    protected $updateTime = false;
    
    protected static function onAfterInsert(self $mode,$ret){
        if($ret){
            Report::adm(REDIS_HAS_ERROR_LOG,83);
        }
    }
}